package com.qny.ai.service;

import com.qny.ai.dto.user.UserLoginRequest;
import com.qny.ai.dto.user.UserRegisterRequest;
import com.qny.ai.entity.AppUser;
import com.qny.ai.vo.UserVO;

public interface UserService {
    Long register(UserRegisterRequest request);
    UserVO login(UserLoginRequest request);
    UserVO updateProfile(Long userId, String username, String email);
    boolean changePassword(Long userId, String oldPassword, String newPassword);
    UserVO getCurrentUser(Long userId);
}


